import type { RouteRecordRaw } from 'vue-router'

const routes:Array<RouteRecordRaw>=[
	{
		path: 'dashboard',
		name: 'content',
		meta:{
			icon:"Home",
			title:"内容管理",
		},
		children:[
			{
				path: 'pdf',
				name: 'content-pdf',
				meta:{
					icon:"Home",
					title:"PDF管理",
				},
				component:() => import('@/views/dashboard/index.vue')
			},
			{
				path: 'post',
				name: 'content-post',
				meta:{
					icon:"Home",
					title:"文章管理",
				},
				component:() => import('@/views/dashboard/index.vue')
			}
		]
	}
]

export default routes
